<template>
  <div class="demo">
    <div class="demo-title">搜索框 loading</div>
    <div class="demo-content">
      <Input.Search v-model:value="value" placeholder="input search loading deault" loading />
      <br />
      <br />
      <Input.Search
        v-model:value="value"
        placeholder="input search loading with enterButton"
        loading
        enter-button
      />
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Input from '@sscd/input';
  const value = ref<string>('');
</script>

<style lang="less" scoped></style>
